---
title: clsCoverageBTask
summary: API reference for clsCoverageBTask.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-08-21
library: SAIF.Business.Tasks.Claim
reference_type: embedded
---

# clsCoverageBTask

`clsCoverageBTask` is the Coverage B counterpart to `clsClaimTask` — structurally parallel (same `Create` → `GetClaimData` → `PostFill` shape) but constrained to Coverage B claims, with its own due-date window and no notepad requirement.

## Purpose
- Creates and validates Coverage B tasks against a claim whose coverage code is `B` ([Create and validate a Coverage B task](../../operations/op-13-create-and-validate-coverageb-task.md), [BR-CB-01](../../business-rules.md#br-cb-01-coverage-b-task-must-reference-a-valid-coverage-b-claim)).
- Overrides the base due-date rule to enforce a one-year window ([BR-CB-03](../../business-rules.md#br-cb-03-coverage-b-due-date-window-is-one-year)).
- Rolls non-working due dates to the next working day at construction ([BR-CB-05](../../business-rules.md#br-cb-05-coverage-b-due-date-rolls-to-next-working-day)).

## Context
- Namespace: `SAIF.Business.Tasks.Claim`
- Assembly/package: `SAIF.Business.Tasks.Claim.dll` (embedded)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `CategoryDescr` | `Public ReadOnly Property CategoryDescr As String` | Returns the human-readable category description, cached at the parent collection level ([Resolve a Coverage B category description](../../operations/op-14-resolve-coverageb-category-description.md)). |
| `ClaimNum` | `Public Property ClaimNum As String` | Resolves the claim via `clsClaimData` and validates coverage code `B` ([BR-CB-01](../../business-rules.md#br-cb-01-coverage-b-task-must-reference-a-valid-coverage-b-claim)). |
| `Deleted` | `Public Property Deleted As Boolean` | Reflects/sets the soft-delete flag on the task row. |
| `WorkerName` | `Public ReadOnly Property WorkerName As String` | Returns the injured worker's name for the bound claim. |
| `Shared NewTask(dpi, claimId)` | `Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer) As clsCoverageBTask` | Creates a new Coverage B task bound to the given claim. |
| `Shared NewTask(dpi, claimId, createUser)` | `Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer, createUser As String) As clsCoverageBTask` | Creates a new Coverage B task, stamping the supplied create user. |
| `CopyTo` | `Public Function CopyTo(inMailID As String) As iTask` | Duplicates the task for a new claim and assigns it to `inMailID` ([Copy a task to another user](../../operations/op-12-copy-task-to-another-user.md)). |
| `Save()` | `Public Overrides Function Save() As iTask` | Persists the task via the inherited stored-procedure path. |
| `SaveChild()` | `Public Overrides Sub SaveChild()` | Persists the task as a child object in a parent save operation. |
| `MarkCompleted()` | `Public Sub MarkCompleted()` | Soft-deletes the task by setting `DeleteFlag`; no notepad step ([Complete a task](../../operations/op-11-complete-task.md)). |

## Inherited public members

Members in this section are inherited from `clsTask` in `SAIF.Business.Tasks`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `ActionCode` | `Public Overrides ReadOnly Property ActionCode As String` | Always returns `clsTaskActionCodeCollection.cNoActionRequired` for Coverage B tasks.† | `SAIF.Business.Tasks` — `clsTask` |
| `RequiresNotePadEntry` | `Public Overrides ReadOnly Property RequiresNotePadEntry As Boolean` | Always `False` for Coverage B tasks ([BR-CB-04](../../business-rules.md#br-cb-04-coverage-b-tasks-always-report-coverage-b-source-system)).† | `SAIF.Business.Tasks` — `clsTask` |
| `SourceCode` | `Public Overrides ReadOnly Property SourceCode As String` | Always returns `clsTaskSourceCodeCollection.cCoverageB`, constraining retrieval to `COVB` rows.† | `SAIF.Business.Tasks` — `clsTask` |
| `SourceSystem` | `Public Overrides ReadOnly Property SourceSystem As TaskSourceSystem` | Always returns `TaskSourceSystem.CoverageB`.† | `SAIF.Business.Tasks` — `clsTask` |

## Behavioral notes
- The constructor sets `TaskDateModifier = TaskDateModifierType.NextWorkDay`, which the base date logic applies to roll non-working due dates forward ([BR-CB-05](../../business-rules.md#br-cb-05-coverage-b-due-date-rolls-to-next-working-day)).
- `OverrideRules` intercepts the inherited base rule `TASK2` to re-evaluate the due-date window as today .. today + 1 year ([BR-CB-03](../../business-rules.md#br-cb-03-coverage-b-due-date-window-is-one-year)).

## Constraints and usage notes
- `PostFill` calls `GetClaimData()` for every loaded row — Coverage B has no bulk extra-fields procedure equivalent to claim tasks' `PK82284_CLAIM_TASK`.

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified. Statements marked with
> † were retrieved from dependency library documentation via the Legends CLI RAG service. They
> describe inherited behavior from the indicated origin library and should be verified if the
> dependency version changes.

## Sources
- SAIF.Business.Tasks.Claim/clsCoverageBTask.vb
